package com.appkubes.mall.restful.application.goods.associate.service.impl;

import com.appkubes.mall.core.entity.MallGoodsAssociate;
import com.appkubes.mall.core.service.impl.BaseMallGoodsAssociateServiceImpl;
import com.appkubes.mall.restful.application.goods.associate.service.GoodsAssociateService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsAssociateImpl extends BaseMallGoodsAssociateServiceImpl implements GoodsAssociateService {

    @Override
    public List<MallGoodsAssociate> getList(String goodsKey) {
        MallGoodsAssociate queryEntity = new MallGoodsAssociate();
        queryEntity.setGoodKey(goodsKey);
        return this.selectListByEntity(queryEntity);
    }
}
